package com.ryskoo.catering.employeetablerel.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "cater_employee_table_rel")
public class EmployeeTableRelPO extends BasicPO {

    /**
     * 员工uuid
     */
    @Column(name = "employee_uuid",columnDefinition = "char",length = 32)
    private String employeeUuid;

    /**
     * 桌台uuid
     */
    @Column(name = "table_uuid",columnDefinition = "char",length = 32)
    private String tableUuid;

    /**
     * 桌台编号
     */
    @Transient
    private String tableNo;

    /**
     * 是否关联服务
     */
    @Column(name = "state")
    private boolean state = false;

    public String getEmployeeUuid() {
        return employeeUuid;
    }

    public void setEmployeeUuid(String employeeUuid) {
        this.employeeUuid = employeeUuid;
    }

    public String getTableUuid() {
        return tableUuid;
    }

    public void setTableUuid(String tableUuid) {
        this.tableUuid = tableUuid;
    }

    public boolean isState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public String getTableNo() {
        return tableNo;
    }

    public void setTableNo(String tableNo) {
        this.tableNo = tableNo;
    }
}
